/**
 * @author code@e-xtrategy.net
 * download last release http://code.google.com/p/e-xmaprollover/
 * @version 1.0.0
 */
(function($){  
 $.fn.maprollover = function(options) {  
	 var defaults = {  
			 cl: '',
			 map: '',
			 defaultImage: ''
	 };
	 var options = $.extend(defaults, options);
	 return this.each(function() {  
		 var obj = $(this);
		 $('.'+options.cl).hide();
		 obj.show();
		 $(options.map+' area').bind('mouseover',function(event){
				$('.'+options.cl).hide();
				$('#'+$(this).attr('rel')).show();
			});
		 $(options.map+' area').bind('mouseout',function(event){
				$('.'+options.cl).hide();
				var dfImg = $(options.defaultImage);
				if ($(dfImg).length>0) {
					$(options.defaultImage).show();
				} else {
					obj.show();
				}	
			});
	 });  
 };  
})(jQuery);